package com.dai.designpattern.factory.abstractf;

/**
 * @author daijiyong
 */
public abstract class MiFactory {
    public void init() {
        System.out.println("需要先做一些准备工作");
        System.out.println("联系厂商订购硬件");
        System.out.println("开发或采购操作系统");
    }

    abstract IComputer createComputer();

    abstract iPhone createPhone();
}

